package com.vcc.service.service;

import com.alibaba.fastjson2.JSONObject;
import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.IpInfo;

public interface IpInfoService extends IService<IpInfo> {

    IpInfo getByIp(String ip);

    IpInfo getByIpOrNull(String ip);

    Boolean existsByIp(String ip);

    IpInfo save(JSONObject map);
}
